<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./login.css">
</head>

<body>
    <div  class="box1">
      <marquee    behavior='scroll'>快点登录，登不进去打死你。给你一秒钟想密码，想不起来打死你。快点登录快点，再快一点!!!</marquee> 
      <marquee    direction='right'   behavior='alternate'>快点登录，登不进去打死你。给你一秒钟想密码，想不起来打死你。快点登录快点，再快一点!!!</marquee> 
    <!-- <form>
      <h2>用户登录</h2>
      <div  class="box2">用户名：<input type="text" name="username" >
      <p>*用户名输入不正确</p>
    </div>
      <div  class="box2">密&nbsp&nbsp&nbsp码：<input type="text" name="password" >
        <p>*密码输入不正确</p>
    </div>
      <button type="button" class="btn">登录</button>
    </form> -->
    </div>
    <script src="../jquery/jquery-3.6.0.min.js"></script>
    <script src="../template-web.js"></script>
   
<script  type="text/html"  id="form">
  <form>
    <h2>用户登录</h2>
    <div  class="box2">用户名：<input type="text" name="username" >
    <p>*用户名输入不正确</p>
  </div>
    <div  class="box2">密&nbsp&nbsp&nbsp码：<input type="text" name="password" >
      <p>*密码输入不正确</p>
  </div>
    <button type="button" class="btn">登录</button>
  </form>
</script>
<script>
  let data={}
  let  html=template('form',data)
  document.querySelector('.box1').innerHTML=html
</script>
<script src="./login.js"></script>
</body>
</html>